<%-- 
    Document   : listapazientimedico
    Created on : 15-dic-2011, 10.41.08
    Author     : ren
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <html>
        <head>

            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <link rel="stylesheet" type="text/css" href="../style_generale.css" />
            <f:loadBundle basename="message.message" var="msg"/>        
            <title> <h:outputText value="#{msg.visiteeffettuate}"/> </title>

        </head>
        <body>



            <a4j:form>
                <rich:dataTable value="#{usl.pazmedico}" var="vis"     
                                style="overflow:auto; width:100%; height:50px"
                                rows="8" footerClass="ordersHeader"
                                styleClass="orders" headerClass="ordersHeader" columnClasses="evenColumn,oddColumn">

                    <rich:column sortBy="#{vis.nome}">
                        <f:facet name="header">  
                            <h:outputText value="#{msg.nomepaz}"/> 
                        </f:facet>
                        <h:outputText value="#{vis.nome}"/> 
                    </rich:column>

                    <rich:column sortBy="#{vis.nome}">
                        <f:facet name="header">  
                            <h:outputText value="#{msg.cognomepaz}"/> 
                        </f:facet>
                        <h:outputText value="#{vis.cognome}" /> 
                    </rich:column>


                    <rich:column sortBy="#{vis.nome}">
                        <f:facet name="header">  
                            <h:outputText value="#{msg.nomemed}"/> 
                        </f:facet>
                        <h:outputText value="#{vis.nomemedico}"/> 
                    </rich:column>

                    <rich:column sortBy="#{vis.nome}">
                        <f:facet name="header">  
                            <h:outputText value="#{msg.cognomemed}"/> 
                        </f:facet>
                        <h:outputText value="#{vis.cognomemedico}" /> 
                    </rich:column>
                    
                    <f:facet name="footer">
                        <rich:datascroller id="vis" selectedStyleClass="myList"></rich:datascroller>
                    </f:facet>

                </rich:dataTable> 


                <h:commandButton value="#{msg.back}" action="back" styleClass="button"/>                
            </a4j:form>



            <br>
            <br>
            <br>
            <%@ include file="/lingua/lingua.jsp" %>
        </body>

    </f:view>
</html>